﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HighLowTriple7;

public partial class pages_Game : System.Web.UI.Page
{
    public int Val1 = 0;
    public int Val2 = 0;
    public int Val3 = 0;
    public int Au = 0;
    public int Ag=0;
    protected void Page_Load(object sender, EventArgs e)
    {
        ((master_MasterPage) (this.Master)).TopMenu = 1;
        if (Utils.UserUtils.IsLogin)
        {
            try
            {
                string accessToken = Utils.UserUtils.AccessToken;
                if (Triple7.GetGameStatus(accessToken) == 5)
                {
                    Val1 = Triple7.GetColumn1Value(accessToken);
                    Val2 = Triple7.GetColumn2Value(accessToken);
                    Val3 = Triple7.GetColumn3Value(accessToken);
                    Au = Triple7.GetAuCurrent(accessToken);
                    Ag = Triple7.GetAgCurrent(accessToken);
                }
            }catch
            {
                
            }
        }
    }
}